import request from '@/utils/request'

export function login(data) {
  return request.post('/sys/login', data)
}

export function getUserInfo(token) {
  return request.post('/sys/profile', token)
}

export function getUserDetail(id) {
  return request.get(`/sys/user/${id}`)
}

export function logout() {
}
